/**
 * Copyright &copy; 2012-2016 <a href="https://istep.lczyfz.com">Istep</a> All rights reserved.
 */
package com.lczyfz.istep.modules.race.entity;

import com.lczyfz.istep.modules.resource.entity.ResourceCtfSet;
import org.hibernate.validator.constraints.Length;

import com.lczyfz.istep.common.persistence.DataEntity;

import java.util.List;

/**
 * 竞赛题库管理Entity
 * @author CY
 * @version 2017-04-24
 */
public class RaceRepertory extends DataEntity<RaceRepertory> {
	
	private static final long serialVersionUID = 1L;
	private String cftsetId;		// ctf题目集id
	private String repertoryName;		// 竞赛题库名称
	private String repertoryDetail;		// 竞赛题库详情
	
	public RaceRepertory() {
		super();
	}

	public RaceRepertory(String id){
		super(id);
	}

	@Length(min=0, max=64, message="ctf题目集id长度必须介于 0 和 64 之间")
	public String getCftsetId() {
		return cftsetId;
	}

	public void setCftsetId(String cftsetId) {
		this.cftsetId = cftsetId;
	}
	
	@Length(min=0, max=64, message="竞赛题库名称长度必须介于 0 和 64 之间")
	public String getRepertoryName() {
		return repertoryName;
	}

	public void setRepertoryName(String repertoryName) {
		this.repertoryName = repertoryName;
	}
	
	@Length(min=0, max=128, message="竞赛题库详情长度必须介于 0 和 128 之间")
	public String getRepertoryDetail() {
		return repertoryDetail;
	}

	public void setRepertoryDetail(String repertoryDetail) {
		this.repertoryDetail = repertoryDetail;
	}


	
}